﻿using mozhi.smarterp.AuthorCenter.Users;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.AuthorCenter.Identities
{
    public interface IOpenIddictScopeAppService : IApplicationService
    {
        Task<PagedResultDto<OpenIddictScopeDto>> GetListAsync(PagedResultRequestDto filter);

        Task<OpenIddictScopeDto> GetAsync(string name);

        Task<OpenIddictScopeDto> CreateAsync(OpenIddictScopeCreateDto input);

        Task<OpenIddictScopeDto> UpdateAsync(OpenIddictScopeUpdateDto input);

        Task DeleteAsync(string name);
    }
}
